﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="muudatoitu.aspx.cs" Inherits="Kohvik.muudatoitu" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
    <asp:PlaceHolder ID="ph_error" runat="server"></asp:PlaceHolder>
    <div class="kuup">Vali kuupäev: <asp:TextBox ID="TB_kuup" runat="server"></asp:TextBox>
        <asp:ImageButton runat="Server" ID="IB_kalender" ImageUrl="~/images/Calendar.png" AlternateText="Click here to display calendar" />
        <asp:CalendarExtender ID="CalendarExtender1" runat="server" 
            TargetControlID="TB_kuup" PopupButtonID="IB_kalender" FirstDayOfWeek="Monday" 
            Format="yyyy-MM-dd" TodaysDateFormat="yyyy-MM-dd" CssClass="cal_Theme1"></asp:CalendarExtender>
    </div>    
    <br />
    <div id="toit">
        <asp:Label ID="Label_nimi" runat="server" Text="Nimi"></asp:Label>
        <asp:TextBox ID="toit0_nimi" runat="server"></asp:TextBox>
        <asp:Label ID="Label_kat" runat="server" Text="Kategooria"></asp:Label>
        <asp:TextBox ID="toit0_kat" runat="server"></asp:TextBox>
        <br />
        <br />
        <div style='margin-left:50px'>Portsud: 
            <asp:PlaceHolder ID="ph_portsud" runat="server"></asp:PlaceHolder>
        </div>
        <br />
        <div style='margin-left:50px'>Soodustused:
            <asp:PlaceHolder ID="ph_soodukad" runat="server"></asp:PlaceHolder>
        </div>
    </div>
    <br />
    <asp:Button ID="btn_submit" runat="server" Text="Muuda" 
        onclientclick="javascript:__doPostBack(&quot;submit&quot;,&quot;&quot; + 0 + &quot;&quot;);" BorderStyle="Solid" BorderWidth="1px" BorderColor="Highlight"/>
</asp:Content>
